package com.lagou.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

import static com.baomidou.mybatisplus.annotation.IdType.AUTO;

/**
 * @ClassName AuthCode
 * @Description
 * @Author playboy
 * @Date 2021/6/25 6:27 下午
 * @Version 1.0
 **/
@Data
@TableName(value = "lagou_auth_code")
public class AuthCode {
	//主键
	@TableId(type = AUTO)
	private Long id;
	//邮箱地址
	private String email;
	//验证码
	private String code;
	//创建时间
	private Date createtime;
	//过期时间
	private Date expiretime;
}
